package com.leyou.common.uploadimgs;

public class LyConstants {
    /**
     * 上传图片的路径
     */
    public static final String UPLOAD_IMG_PATH="D:\\project_leyou\\soft\\nginx-1.16.0\\html\\brand-img";
    /**
     * 图片访问的url
     */
    public static final String UPLOAD_IMG_URL="http://image.leyou.com/brand-img/";
    /**
     * 注册时，短信验证码在redis中的key的前缀
     */
    public static final String CODE_PRE = "CODE:PRE:";

    /**
     * 网关用户id请求头的key
     */
    public static final String USER_ID_KEY = "userId";
    /**
     * 网关用户角色请求头的key
     */
    public static final String USER_ROLE_KEY = "USER:ROLE:KEY";

    /**
     * 当前用户购物车对象在redis中的前缀
     */
    public static final String USER_CART_KEY_PRE = "USER:CART:KEY:PRE:";

    /**
     * 当前订单在reids中的支付链接的key
     */
    public static final String ORDER_PAY_RUL_PRE = "ORDER_PAY_RUL_PRE";


}
